import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import MyTest from "../components/MyTest";
import MyButton from "../components/MyButton";
import MyTable from "../components/MyTable";
import MyTable1 from "../components/MyTable1";
import MyTable2 from "../components/MyTable2";
Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'HelloWorld',
      component: HelloWorld
    },
    {
      path: '/myTest',
      name: 'MyTest',
      component: MyTest
    },
    {
      path: '/myButton',
      name: 'MyButton',
      component: MyButton
    },
    {
      path: '/myTable',
      name: 'MyTable',
      component: MyTable
    },
    {
      path: '/myTable1',
      name: 'MyTable1',
      component: MyTable1
    },
    {
      path: '/myTable2',
      name: 'MyTable2',
      component: MyTable2
    }
  ]
})
